package com.javashow.login.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.javashow.login.dao.ILoginDao;
import com.javashow.login.service.ILoginService;
import com.javashow.pojo.User;

@Service("loginService")
public class LoginServiceImpl implements ILoginService {
	
	@Autowired
	private ILoginDao loginDao;

	@Override
	public boolean login(User user) {
		return loginDao.login(user);
	}
}









